home *** CD-ROM | disk | FTP | other *** search
/ Alles Voor Internet / Tout Pour Internet / alles voor internet.iso / MacInternet™ / Telnet / NCSA / tn3270 2.4d7 source / tn3270 / serstub.c < prev    next >
Text File  |  1992-04-17  |  3KB  |  106 lines

  1. /*
  2.  *  tn3270 for the Macintosh Source Code
  3.  *  Brown University Computing and Information Services
  4.  *  Version 2.4d7  April, 1992
  5.  *  Copyright (c) 1988, 1989, 1990, 1991, 1992 by Brown University and by
  6.  *  Peter John DiCamillo.
  7.  *
  8.  *  Permission is granted to any individual or institution to use, copy,
  9.  *  or redistribute the binary version of this software and its
  10.  *  documentation provided this notice and the copyright notices are
  11.  *  retained.  Permission is granted to any individual or non-profit
  12.  *  institution to use, copy, modify, or redistribute the source files
  13.  *  of this software provided this notice and the copyright notices are
  14.  *  retained.  This software may not be distributed for profit, either
  15.  *  in original form or in derivative works, nor can the source be
  16.  *  distributed to other than an individual or a non-profit institution.
  17.  *  Any  individual or group interested in seeing and/or using these
  18.  *  source files but who are prevented from doing so by the above
  19.  *  constraints should contact Don Wolfe, Assistant Vice-President for
  20.  *  Computer Systems at Brown University, (401) 863-7250, for possible
  21.  *  software licensing of the source developed at Brown.
  22.  *
  23.  *  Brown University and Peter John DiCamillo make no representations
  24.  *  about the suitability of this software for any purpose.
  25.  *
  26.  *  BROWN UNIVERSITY AND PETER JOHN DICAMILLO GIVE NO WARRANTY, EITHER
  27.  *  EXPRESS OR IMPLIED, FOR THE PROGRAM AND/OR DOCUMENTATION PROVIDED,
  28.  *  INCLUDING, WITHOUT LIMITATION, WARRANTY OF MERCHANTABILITY AND
  29.  *  WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
  30.  *
  31.  */
  32.  
  33. #if !defined(USEDUMP)
  34.     #include "maclib.h"
  35.     #include "termdef.h"
  36.     #include "tn3270funcs.h"
  37.     #include "globals.h"
  38. #else
  39.     #pragma load "tn3270DumpFile"
  40. #endif
  41.  
  42. #pragma segment async3270
  43.  
  44. char mdm_open = 0;                    /* modem port open */
  45. char serserverconn = 0;                /* connected to server */
  46.  
  47. OSErr ser_init(void)
  48. {
  49. return(1);        /* indicate driver not present */
  50. }
  51.  
  52. long sergetrsrv(cnr *cp)
  53. {
  54. #pragma unused (cp)
  55. return(0);
  56. }
  57.  
  58. void serattn(cnr *cp)
  59. {
  60. #pragma unused (cp)
  61. }
  62.  
  63. void ser_end(void)
  64. {
  65. }
  66.  
  67. void serout(unsigned char c)
  68. {
  69. #pragma unused (c)
  70. }
  71.  
  72. void serevent(void)
  73. {
  74. }
  75.  
  76. void serlgin(cnr *cp)
  77. {
  78. #pragma unused (cp)
  79. }
  80.  
  81. void serin(unsigned char c, unsigned char shift, cnr *cp)
  82. {
  83. #pragma unused (c, shift, cp)
  84. }
  85.  
  86. void sersrvlgout(char keep)
  87. {
  88. #pragma unused (keep)
  89. }
  90.  
  91. void serdflthost(unsigned char *s)
  92. {
  93. #pragma unused (s)
  94. }
  95.  
  96. void serlgout(char keep, cnr *cp)
  97. {
  98. #pragma unused (keep, cp)
  99. }
  100.  
  101. void sersendinit(char init)
  102. {
  103. #pragma unused (init)
  104. }
  105.  
  106.